package com.zuipin.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 角色-菜单(权限)
 */
@ApiModel(description = "角色-菜单(权限)")
public class SysRoleMenu {
	
	private Long	id;		// 主键 自增长
	private Long	roleId;	// 角色id
	private Long	menuId;	// 菜单(模块)id
	
	public SysRoleMenu() {
	}
	
	public SysRoleMenu(Long roleId, Long menuId) {
		this.roleId = roleId;
		this.menuId = menuId;
	}
	
	@ApiModelProperty(value = "主键 自增长")
	public Long getId() {
		return id;
	}
	
	public void setId(Long id) {
		this.id = id;
	}
	
	@ApiModelProperty(value = "角色id")
	public Long getRoleId() {
		return roleId;
	}
	
	public void setRoleId(Long roleId) {
		this.roleId = roleId;
	}
	
	@ApiModelProperty(value = "菜单(模块)id")
	public Long getMenuId() {
		return menuId;
	}
	
	public void setMenuId(Long menuId) {
		this.menuId = menuId;
	}
}
